protected function initialise_attributes($pre18_api = true) {
if ($pre18_api) {
elgg_deprecated_notice('initialise_attributes() is deprecated by initializeAttributes()', 1.8);
+ initializeAttributes();
} else {
return false;
}
/** File handle used to identify this file in a filestore. Created by open. */
private $handle;
- /**
- * Set subtype to 'file'.
- *
- * @return void
- *
- * @deprecated 1.8 Use initializeAttributes()
- */
- protected function initialise_attributes() {
- elgg_deprecated_notice('ElggFile::initialise_attributes() is deprecated by ::initializeAttributes()', 1.8);
- $this->initializeAttributes();
- }
-
/**
* Set subtype to 'file'.
*
*/
class ElggPlugin extends ElggObject {
- /**
- * Set subtype to 'plugin'
- *
- * @return void
- *
- * @deprecated 1.8 Use initializeAttributes()
- */
- protected function initialise_attributes() {
- elgg_deprecated_notice('ElggPlugin::initialise_attributes() is deprecated by ::initializeAttributes()', 1.8);
- return $this->initializeAttributes();
- }
-
/**
* Set subtype to 'plugin'
*
*/
class ElggWidget extends ElggObject {
- /**
- * Set subtype to widget.
- *
- * @deprecated 1.8 use ElggWidget::initializeAttributes()
- *
- * @return void
- */
- protected function initialise_attributes() {
- elgg_deprecated_notice('ElggWidget::initialise_attributes() is deprecated by ::initializeAttributes()', 1.8);
-
- return $this->initializeAttributes();
- }
-
/**
* Set subtype to widget.
*