62 if( $this->AddLimitations ===
'1 = 1' )
64 $this->AddLimitations = $theAddLimitation;
68 throw(
new Exception(
'"AddLimitations" was already set' ) );
102 private function fetch_package_appliance( $PageName )
106 $RowPage = $this->CachedMultyFS->file_get_contents(
107 dirname( __FILE__ ).
'/../page_access/data/pa_'.$PageName
110 $Appliance = array();
112 foreach( $RowPage as $rp )
114 $Appliance [] = array(
115 'package' => $rp[ 0 ] ,
'package_version' => $rp[ 1 ] ,
116 'options' => $rp[ 2 ] ,
'placeholder' => $rp[ 3 ]
120 return( $Appliance );
122 catch( Exception $e )
158 $PageName = $Security->get( $PageName ,
string );
160 $PageName = htmlspecialchars( $PageName , ENT_QUOTES );
162 if( file_exists( dirname( __FILE__ ).
'/../page_access/data/pa_'.$PageName ) )
164 return( $this->fetch_package_appliance( $PageName ) );
169 catch( Exception $e )
197 $Utilities =
get_package(
'utilities' ,
'last' , __FILE__ );
198 return( $Utilities->get_files_from_directory( dirname( __FILE__ ).
'/data' ,
'/pa_.+/' ) );
200 catch( Exception $e )
244 catch( Exception $e )