common/models/base/Meta.php
public static function findFirstByName( $modelId, $name ) {

		$query	= self::queryByName( $modelId, $name );

		return $query->one();
	}
public static function findFirstByName( $modelId, $name ) {

		$query	= self::queryByName( $modelId, $name );

		return $query->one();
	}
public static function findFirstByName ( $ modelId , $ name ) { $ query = self :: queryByName ( $ modelId , $ name ) ; return $ query -> one ( ) ; }
Return first meta model by parent id and meta name.

@param integer $modelId Parent Id.
@param string $name
@return ModelMeta|array|null by parent id and meta name.
Return first meta model by parent id and meta name .