public function getContentByIndex($index)
    {
        $index = intval($index);
        return array_key_exists($index, $this->contents) ? $this->contents[$index] : null;
    }
public function getContentByIndex($index)
    {
        $index = intval($index);
        return array_key_exists($index, $this->contents) ? $this->contents[$index] : null;
    }
public function getContentByIndex ( $ index ) { $ index = intval ( $ index ) ; return array_key_exists ( $ index , $ this -> contents ) ? $ this -> contents [ $ index ] : null ; }
Get area content by index

@param int $index Content index
@return array Array of Contents
Get area content by index