Horde_Kolab_Storage_List_Manipulation::createFolder PHP 메소드

createFolder() 추상적인 공개 메소드

Create a new folder.
abstract public createFolder ( string $folder, string $type = null ) : null
$folder string The path of the folder to create.
$type string An optional type for the folder.
리턴 null
    public abstract function createFolder($folder, $type = null);

Usage Example

예제 #1
0
파일: Log.php 프로젝트: raz0rsdge/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->_logger->debug(sprintf('Creating folder %s.', $folder));
     $result = $this->_manipulation->createFolder($folder, $type);
     $this->_logger->debug(sprintf('Successfully created folder %s [type: %s].', $folder, $type));
 }