Procedural File: UniqueNameService.php

Source Location: /CORE/system/classes/seo/UniqueNameService.php

Page Details

BIGACE - a PHP and MySQL based Web CMS.

Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

BIGACE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

For further information visit http://www.bigace.de.

Functions
bigace_item_by_unique_name  [line 40]

mixed bigace_item_by_unique_name( String $uniqueName  )

Finds an Item by its unique Name. If none could be found, null is returned.

Parameters:
String   $uniqueName:  the unique name to lookup

API Tags:
Return:  the Item or null


[ Top ]
bigace_unique_name_max  [line 84]

mixed bigace_unique_name_max( String $uniqueName  )

Find the maximum number of this unique url. Returns false if none is found.

Example: You have the files: test-1.jpg/test-2.jpg and test-3.jpg this method would return 3 for the call bigace_unique_name_max("test-") and false for bigace_unique_name_max("foo").

Parameters:
String   $uniqueName:  the unqiue name to lookup

API Tags:
Return:  the result or false


[ Top ]
bigace_unique_name_raw  [line 58]

mixed bigace_unique_name_raw( String $uniqueName  )

Fetch the raw result for a unique name. If none could be found, null is returned.

Parameters:
String   $uniqueName:  the unqiue name to lookup

API Tags:
Return:  the array result or null


[ Top ]