import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* @subpackage PHP
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Abstract.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Abstract.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -33,12 +33,12 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
* @var string
|
||||
*/
|
||||
protected $_sourceContent = null;
|
||||
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $_isSourceDirty = true;
|
||||
|
||||
|
||||
/**
|
||||
* __construct()
|
||||
*
|
||||
@ -59,7 +59,7 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
}
|
||||
$this->_prepare();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setConfig()
|
||||
*
|
||||
@ -71,7 +71,7 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
$this->setOptions($config->toArray());
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setOptions()
|
||||
*
|
||||
@ -88,7 +88,7 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setSourceContent()
|
||||
*
|
||||
@ -99,7 +99,7 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
$this->_sourceContent = $sourceContent;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getSourceContent()
|
||||
*
|
||||
@ -109,31 +109,31 @@ abstract class Zend_CodeGenerator_Abstract
|
||||
{
|
||||
return $this->_sourceContent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* _init() - this is called before the constuctor
|
||||
*
|
||||
*/
|
||||
protected function _init()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* _prepare() - this is called at construction completion
|
||||
*
|
||||
*/
|
||||
protected function _prepare()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* generate() - must be implemented by the child
|
||||
*
|
||||
*/
|
||||
abstract public function generate();
|
||||
|
||||
|
||||
/**
|
||||
* __toString() - casting to a string will in turn call generate()
|
||||
*
|
||||
|
Reference in New Issue
Block a user