Zf create project profile profile profile file name

I could not find a good resource describing the following Zend_Tool command:

  • zf create project path to profile profile file

Even here:

Does anyone know a good resource regarding this team?
Note. I am interested in part of the profile-name and profile file . Usage, examples, etc.

Perhaps even a visual approach, as in these links:

+5
source share
1 answer

ZF Tool Project,

Afaik ( ) Zend Tool XML . , Zend Tool.

DocBlock create :

/**
 * create()
 *
 * @param string $path
 * @param string $nameOfProfile shortName=n
 * @param string $fileOfProfile shortName=f
 */

    $newProfile = new Zend_Tool_Project_Profile(array(
        'projectDirectory' => $path,
        'profileData' => $profileData
        ));

$profileDate . $fileOfProfile, ,

    if ($fileOfProfile != null && file_exists($fileOfProfile)) {
        $profileData = file_get_contents($fileOfProfile);
    }

, , . , Zend Tool , .

    $storage = $this->_registry->getStorage();
    if ($profileData == '' && $nameOfProfile != null && $storage->isEnabled()) {
        $profileData = $storage->get('project/profiles/' . $nameOfProfile . '.xml');
    }

, . , Zend Tool. , .

ChangeLog, .

+4

All Articles