public function parent($id = '')
    {
        // Return value
        if (empty($id)) {
            return $this->parent;
        }

        // Set value
        $this->parent = $id;

        return $this;
    }
public function parent($id = '')
    {
        // Return value
        if (empty($id)) {
            return $this->parent;
        }

        // Set value
        $this->parent = $id;

        return $this;
    }
public function parent ( $ id = '' ) { // Return value if ( empty ( $ id ) ) { return $ this -> parent ; } // Set value $ this -> parent = $ id ; return $ this ; }
Gets or defines the popup's parent id.

@param string $id The parent's id.

@return mixed The popup's parent id, or $this.
Gets or defines the popup s parent id .