6.X/traits/properties.php
/**
     * Copy properties from a content item (page)
     *
     * @param $code string Page URI
     */
Copy properties from a content item (page)
@param $code string Page URI
Copy properties from a content item ( page ) @param $code string Page URI
public function copy_properties($code)
    {
        $item = $this->get_db_content_item($code);
        $props = $this->get_content_data($item);
        unset($props['_full']);
        $this->page_properties = array_merge($this->page_properties, $props);
    }
public function copy_properties ( $ code ) { $ item = $ this -> get_db_content_item ( $ code ) ; $ props = $ this -> get_content_data ( $ item ) ; unset ( $ props [ '_full' ] ) ; $ this -> page_properties = array_merge ( $ this -> page_properties , $ props ) ; }
Copy properties from a content item (page)
 @param $code string Page URI
Copy properties from a content item ( page ) @param $code string Page URI
// Load properties from get_content_data for the content item $code and save them as $page_properies