Root/
| |
|---|---|
| Source at commit HEAD created 10 months 9 days ago. By dpobel, Added files about move to Github | |
| 1 | <?php |
| 2 | /** |
| 3 | * $Id: autostatusidentica.php 10 2009-10-30 21:51:41Z dpobel $ |
| 4 | * $HeadURL: http://svn.projects.ez.no/autostatus/tags/autostatus_0.1/extension/autostatus/classes/autostatusidentica.php $ |
| 5 | * |
| 6 | * SOFTWARE NAME: autostatus |
| 7 | * SOFTWARE RELEASE: 0.1 |
| 8 | * COPYRIGHT NOTICE: Copyright (C) 2009 Damien POBEL |
| 9 | * SOFTWARE LICENSE: GNU General Public License v2.0 |
| 10 | * NOTICE: > |
| 11 | * This program is free software; you can redistribute it and/or |
| 12 | * modify it under the terms of version 2.0 of the GNU General |
| 13 | * Public License as published by the Free Software Foundation. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of version 2.0 of the GNU General |
| 21 | * Public License along with this program; if not, write to the Free |
| 22 | * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
| 23 | * MA 02110-1301, USA. |
| 24 | */ |
| 25 | |
| 26 | class autostatusIdentica extends autostatusSocialNetwork |
| 27 | { |
| 28 | |
| 29 | public function __construct() |
| 30 | { |
| 31 | $this->identifier = 'identica'; |
| 32 | $this->name = 'Identi.ca'; |
| 33 | } |
| 34 | |
| 35 | |
| 36 | public function update( $message, $login, $password ) |
| 37 | { |
| 38 | self::fixIncludePath(); |
| 39 | $client = new autostatusIdenticaClient( $login, $password ); |
| 40 | $response = $client->statusUpdate( $message ); |
| 41 | } |
| 42 | |
| 43 | |
| 44 | } |
| 45 | |
| 46 | |
| 47 | ?> |
| 48 | |
