Example #1
0
    protected function addAttributes(&$script)
    {
        parent::addAttributes($script);
        if ($this->getTable()->getAttribute('isI18N')) {
            $script .= '
  /**
   * The value for the culture field.
   * @var string
   */
  protected $culture;
';
        }
    }
Example #2
0
 /**
  * Adds class attributes.
  * @param      string &$script The script will be modified in this method.
  */
 protected function addAttributes(&$script)
 {
     parent::addAttributes($script);
     $this->addTraceAttributes($script);
 }