common/models/mappers/ModelFile.php
public static function findByFileTitle( $parentId, $parentType, $fileTitle ) {

		$fileTable = CoreTables::getTableName( CoreTables::TABLE_FILE );

		return self::queryByParent( $parentId, $parentType )->andFilterWhere( [ 'like', "$fileTable.title", $fileTitle ] )->all();
	}
public static function findByFileTitle( $parentId, $parentType, $fileTitle ) {

		$fileTable = CoreTables::getTableName( CoreTables::TABLE_FILE );

		return self::queryByParent( $parentId, $parentType )->andFilterWhere( [ 'like', "$fileTable.title", $fileTitle ] )->all();
	}
public static function findByFileTitle ( $ parentId , $ parentType , $ fileTitle ) { $ fileTable = CoreTables :: getTableName ( CoreTables :: TABLE_FILE ) ; return self :: queryByParent ( $ parentId , $ parentType ) -> andFilterWhere ( [ 'like' , "$fileTable.title" , $ fileTitle ] ) -> all ( ) ; }
Find and return the mappings for given title.

@param integer $parentId
@param string $parentType
@param string $fileTitle
@return ModelFile[]
Find and return the mappings for given title .