function get_tree_array( $cid, $mycategory='', $cids_child='' ) { if( empty( $mycategory ) ){ include_once dirname( dirname(__FILE__) ).'/class/mycategory.php' ; $mycategory = new MyCategory( $this->mydirname, 'Show' ) ; } return $mycategory->getMycidsIntreeArray( $cid, '', $cids_child ) ; }