public function isCommented()
    {
        if ($parts = $this->_getParts()) {
            $d = $parts[3];

            $d = explode("\n", $d);

            foreach ($d as $key => &$data) {
                $data = rtrim($data);

                if (preg_match($this->pregcheck, $data, $match)) {
                    return false;
                }
            }
        }

        return true;
    }
public function isCommented()
    {
        if ($parts = $this->_getParts()) {
            $d = $parts[3];

            $d = explode("\n", $d);

            foreach ($d as $key => &$data) {
                $data = rtrim($data);

                if (preg_match($this->pregcheck, $data, $match)) {
                    return false;
                }
            }
        }

        return true;
    }
public function isCommented ( ) { if ( $ parts = $ this -> _getParts ( ) ) { $ d = $ parts [ 3 ] ; $ d = explode ( "\n" , $ d ) ; foreach ( $ d as $ key => & $ data ) { $ data = rtrim ( $ data ) ; if ( preg_match ( $ this -> pregcheck , $ data , $ match ) ) { return false ; } } } return true ; }
Czy blok jest zakomentowany.

@return bool
Czy blok jest zakomentowany .