/**
  * Initialize the object.
  *
  * <code>
  * $userId = 1;
  *
  * $profile = new Prism\Integration\Profile\EasyProfile(\JFactory::getDbo());
  * </code>
  *
  * @param  \JDatabaseDriver $db
  */
 public function __construct(\JDatabaseDriver $db)
 {
     parent::__construct($db);
     $this->avatarSizes = array('icon' => 'mini_', 'small' => 'mini_', 'medium' => '_', 'large' => '_');
 }
 /**
  * Initialize the object
  *
  * <code>
  * $userId = 1;
  *
  * $profile = new Prism\Integration\Profile\Kunena(\JFactory::getDbo());
  * </code>
  *
  * @param \JDatabaseDriver $db
  */
 public function __construct(\JDatabaseDriver $db)
 {
     parent::__construct($db);
     $this->avatarSizes = array('icon' => array('folder' => 'size36', 'noimage' => 's_nophoto.jpg'), 'small' => array('folder' => 'size72', 'noimage' => 's_nophoto.jpg'), 'medium' => array('folder' => 'size72', 'noimage' => 'nophoto.jpg'), 'large' => array('folder' => 'size200', 'noimage' => 'nophoto.jpg'));
 }
 /**
  * Initialize the object
  *
  * <code>
  * $userId = 1;
  *
  * $profile = new Prism\Integration\Profile\Kunena(\JFactory::getDbo());
  * </code>
  *
  * @param \JDatabaseDriver $db
  */
 public function __construct(\JDatabaseDriver $db)
 {
     parent::__construct($db);
     $this->avatarSizes = array('icon' => 'image_icon', 'small' => 'image_square', 'medium' => 'image_small', 'large' => 'image');
 }
示例#4
0
 /**
  * Initialize the object.
  *
  * @param \JDatabaseDriver $db
  */
 public function __construct(\JDatabaseDriver $db = null)
 {
     parent::__construct($db);
     $this->contentAlias = 'com_userideas.category';
 }