コード例 #1
0
  /**
  * getEditorGlobalLayoutSettings
  * used by {@link eZOEXMLInput::getEditorLayoutSettings()}
  *
  * @static
  * @return array hash with global layout settings for the editor
  */
 public static function getEditorGlobalLayoutSettings()
 {
     if ( self::$editorGlobalLayoutSettings === null )
     {
         $oeini = eZINI::instance( 'ezoe.ini' );
         self::$editorGlobalLayoutSettings = array(
             'buttons' => $oeini->variable('EditorLayout', 'Buttons' ),
             'toolbar_location' => $oeini->variable('EditorLayout', 'ToolbarLocation' ),
             'path_location' => $oeini->variable('EditorLayout', 'PathLocation' ),
         );
     }
     return self::$editorGlobalLayoutSettings;
 }