public function prevElement ()
	{
		if (($arrTypes = $GLOBALS['templateTypes'][$this->ptable.'.'.$this->pid]) === null)
		{
			$objCte = \ContentModel::findPublishedByPidAndTable($this->pid, $this->ptable);
			
			if ($objCte === null)
			{
				return;
			}
			
			$arrTypes = $GLOBALS['templateTypes'][$this->ptable.'.'.$this->pid] = $objCte->fetchEach('type');
		}

		return $arrTypes[array_keys($arrTypes)[array_search($this->id, array_keys($arrTypes)) - 1]];
	}
public function prevElement ()
	{
		if (($arrTypes = $GLOBALS['templateTypes'][$this->ptable.'.'.$this->pid]) === null)
		{
			$objCte = \ContentModel::findPublishedByPidAndTable($this->pid, $this->ptable);
			
			if ($objCte === null)
			{
				return;
			}
			
			$arrTypes = $GLOBALS['templateTypes'][$this->ptable.'.'.$this->pid] = $objCte->fetchEach('type');
		}

		return $arrTypes[array_keys($arrTypes)[array_search($this->id, array_keys($arrTypes)) - 1]];
	}
public function prevElement ( ) { if ( ( $ arrTypes = $ GLOBALS [ 'templateTypes' ] [ $ this -> ptable . '.' . $ this -> pid ] ) === null ) { $ objCte = \ ContentModel :: findPublishedByPidAndTable ( $ this -> pid , $ this -> ptable ) ; if ( $ objCte === null ) { return ; } $ arrTypes = $ GLOBALS [ 'templateTypes' ] [ $ this -> ptable . '.' . $ this -> pid ] = $ objCte -> fetchEach ( 'type' ) ; } return $ arrTypes [ array_keys ( $ arrTypes ) [ array_search ( $ this -> id , array_keys ( $ arrTypes ) ) - 1 ] ] ; }
Get the alias of the previous content element

@return string  The type of the previous content element
Get the alias of the previous content element