protected function addBooleanAccessor(&$script, Column $column)
    {
        $name = self::getBooleanAccessorName($column);
        if (in_array($name, ClassTools::getPropelReservedMethods())) {
            //TODO: Issue a warning telling the user to use default accessors
            return; // Skip boolean accessors for reserved names
        }
        $this->addDefaultAccessorComment($script, $column);
        $this->addBooleanAccessorOpen($script, $column);
        $this->addBooleanAccessorBody($script, $column);
        $this->addDefaultAccessorClose($script);
    }
protected function addBooleanAccessor(&$script, Column $column)
    {
        $name = self::getBooleanAccessorName($column);
        if (in_array($name, ClassTools::getPropelReservedMethods())) {
            //TODO: Issue a warning telling the user to use default accessors
            return; // Skip boolean accessors for reserved names
        }
        $this->addDefaultAccessorComment($script, $column);
        $this->addBooleanAccessorOpen($script, $column);
        $this->addBooleanAccessorBody($script, $column);
        $this->addDefaultAccessorClose($script);
    }
protected function addBooleanAccessor ( & $ script , Column $ column ) { $ name = self :: getBooleanAccessorName ( $ column ) ; if ( in_array ( $ name , ClassTools :: getPropelReservedMethods ( ) ) ) { //TODO: Issue a warning telling the user to use default accessors return ; // Skip boolean accessors for reserved names } $ this -> addDefaultAccessorComment ( $ script , $ column ) ; $ this -> addBooleanAccessorOpen ( $ script , $ column ) ; $ this -> addBooleanAccessorBody ( $ script , $ column ) ; $ this -> addDefaultAccessorClose ( $ script ) ; }
Adds a boolean isser method.

@param string &$script
@param Column $column
Adds a boolean isser method .