Attila/core/Model.php
public function belongsTo($sPrimaryKeyName, $sEntityJoinName, $sForeignKeyName, $sNamespaceEntity, array $aOptions = array())
	{
	    $this->_aHasOne[$sEntityJoinName] = array($sPrimaryKeyName, $sEntityJoinName, $sForeignKeyName, $sNamespaceEntity);
	}
public function belongsTo($sPrimaryKeyName, $sEntityJoinName, $sForeignKeyName, $sNamespaceEntity, array $aOptions = array())
	{
	    $this->_aHasOne[$sEntityJoinName] = array($sPrimaryKeyName, $sEntityJoinName, $sForeignKeyName, $sNamespaceEntity);
	}
public function belongsTo ( $ sPrimaryKeyName , $ sEntityJoinName , $ sForeignKeyName , $ sNamespaceEntity , array $ aOptions = array ( ) ) { $ this -> _aHasOne [ $ sEntityJoinName ] = array ( $ sPrimaryKeyName , $ sEntityJoinName , $ sForeignKeyName , $ sNamespaceEntity ) ; }
create a join in many to one

@access public
@param string $sPrimaryKeyName
@param string $sEntityJoinName
@param string $sForeignKeyName
@param string $sNamespaceEntity
@param array $aOptions
@return object
create a join in many to one