Horde_Kolab_Storage_Driver::create PHP Method

create() public method

Create the specified folder.
public create ( string $folder ) : null
$folder string The folder to create.
return null
    public function create($folder);

Usage Example

Example #1
0
File: Base.php Project: horde/horde
 /**
  * Create a new folder.
  *
  * @param string $folder The path of the folder to create.
  * @param string $type   An optional type for the folder.
  *
  * @return NULL
  */
 public function createFolder($folder, $type = null)
 {
     $this->_driver->create($folder);
     if ($type) {
         $this->_driver->setAnnotation($folder, Horde_Kolab_Storage_List_Query_List::ANNOTATION_FOLDER_TYPE, $type);
     }
     foreach ($this->_listeners as $listener) {
         $listener->updateAfterCreateFolder($folder, $type);
     }
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::create