50 $Security =
get_package(
'security' ,
'last' , __FILE__ );
51 $CategoryAlgorithms =
get_package(
'category::category_algorithms' ,
'last' , __FILE__ );
52 $CategoryAlgorithms->update_category_title(
53 $Security->get_p(
'category_id' ,
'integer' , 0 ) , $Security->get_p(
'title' ,
'string' ,
'' )
85 $MasterId = $Options->get_setting(
'master_id' );
86 $MasterType = $Options->get_setting(
'master_type' );
87 $Link->delete_link( $MasterId ,
false , $MasterType ,
'category' );
89 $SecurityUtilities =
get_package(
'security::security_utilities' ,
'last' , __FILE__ );
90 $Ids = $SesurityUtilities->get_global(
'_id_' ,
'integer' ,
CHECKBOX_IDS );
92 $Link->create_link( $MasterId , $Ids , $MasterType ,
'category' ,
true );
125 $CategoryAccess =
get_package(
'category::category_access' ,
'last' , __FILE__ );
127 $Categories = $CategoryAccess->select_list( $cid );
129 $CategoryAccess->move_up_children_categories( $cid ,
get_field( $Categories[ 0 ] ,
'root_id' ) );
131 catch( Exception $e )
159 $ContextSet =
get_package(
'gui::context_set' ,
'last' , __FILE__ );
161 $ContextSet->add_context( dirname( __FILE__ ).
'/conf/cfcx_update_category_title' );
163 $ContextSet->add_context( dirname( __FILE__ ).
'/conf/cfcx_category_list' );
165 $ContextSet->execute( $Options , $this , __FILE__ );
167 catch( Exception $e )