[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_weblinks/tables/ -> weblink.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 230 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WeblinksTableWeblink:: (5 methods):
  __construct()
  bind()
  store()
  check()
  publish()


Class: WeblinksTableWeblink  - X-Ref

Weblink Table class

__construct(&$db)   X-Ref
Constructor

param: JDatabase A database connector object

bind($array, $ignore = '')   X-Ref
Overloaded bind function to pre-process the params.

param: array        Named array
return: null|string    null is operation was satisfactory, otherwise returns an error

store($updateNulls = false)   X-Ref
Overload the store method for the Weblinks table.

param: boolean    Toggle whether null values should be updated.
return: boolean    True on success, false on failure.

check()   X-Ref
Overloaded check method to ensure data integrity.

return: boolean    True on success.

publish($pks = null, $state = 1, $userId = 0)   X-Ref
Method to set the publishing state for a row or list of rows in the database
table.  The method respects checked out rows by other users and will attempt
to checkin rows that it can after adjustments are made.

param: mixed    An optional array of primary key values to update.  If not
param: integer The publishing state. eg. [0 = unpublished, 1 = published]
param: integer The user id of the user performing the operation.
return: boolean    True on success.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1